package controller

import (
	"github.com/gin-gonic/gin"
	"niu-video/app/service"
	"niu-video/pkg/response"
)

type CategoryController struct {
}

// List 获取分类列表
func (ctrl *CategoryController) List(c *gin.Context) {
	response.OkWithData(service.CategoryService.List(), c)
}
